import { ref } from 'vue'
import { pageData } from '../data/pageData'

export function usePageData() {
  const data = ref(pageData)

  return {
    common: data.value.common,
    home: data.value.home,
    team: data.value.team,
    services: data.value.services,
    projects: data.value.projects,
    about: data.value.about,
    loading: ref(false),
    error: ref(null)
  }
}
